package org.csu.mypetstore.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("inventory")
@Data
public class ItemQuantity {

    @TableId(value = "itemid", type = IdType.INPUT) // 明确指定主键列名
    private String itemId;

    @TableField("qty")
    private Integer quantity;
}
